// import Mock from 'mockjs'
export default [
  {
    url: '/deviceInfo/selectAll',
    type: 'get',
    response: config => {
      return {
        "code": 0,
        "message": "操作成功",
        "data": {
          "pageNum": 1,
          "pageSize": 1,
          "total": 1,
          "pages": 1,
          "list": [
            {
              "type": "马克一型",
              "num": 10,
              "makeDate": '2019-10-04',
              "storeNum": 40
            }
          ]
        }
      }
    }
  },
  {
    url: '/deviceInfo/save',
    type: 'post',
    response: config => {
      return {
        "code": 0,
        "message": "操作成功"
      }
    }
  },
  {
    url: '/deviceInfo/update',
    type: 'post',
    response: config => {
      return {
        "code": 0,
        "message": "操作成功"
      }
    }
  }
]
